package com.haipumi.dao;

import java.util.List;

import com.haipumi.beans.haipumi_product;

public interface IBackGoodDao {

	public List<haipumi_product> findAllGoods();
	
	public int findGoodsCount(String pname);
	
	public haipumi_product addGoods(haipumi_product goods);
	
	public haipumi_product updateGoods(haipumi_product goods);
	
	public List<haipumi_product> findGoods(String pname, int rows, int page,
			String sort, String order) ;
	
	public haipumi_product updateGoodsStatus(haipumi_product goods);
	
	public boolean updateGoodsPic(haipumi_product goods);
	
	public haipumi_product updateGoodsDetail(haipumi_product goods);
}
